import yaml

# 读取 YAML 文件
def load_yaml(file_path):
    with open(file_path, 'r') as file:
        return yaml.safe_load(file)

# 使用配置
if __name__ == "__main__":
    config = load_yaml("config.yaml")
    print(config)  # 输出整个配置内容
